package hlhj.fhp.drawskin

import android.content.Intent
import android.os.Bundle
import com.tenma.ventures.base.TMActivity
import com.tenma.ventures.bean.utils.TMSharedPUtil
import com.tenma.ventures.config.TMConstant
import com.tenma.ventures.config.TMServerConfig

/**
 * Created by Never Fear   on 2018\11\14 0014.
Never More....
 */
class GoWebAty :TMActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        val intent = Intent(this, WebActivity::class.java)
        val bundle = Bundle()
        bundle.putString(TMConstant.BundleParams.LOAD_URL, "${TMServerConfig.BASE_URL}/application/hlhj_transferlottery/wap?token=${TMSharedPUtil.getTMToken(this)}&member_code=${TMSharedPUtil.getTMUser(this).member_code}")
        intent.putExtras(bundle)
        startActivity(intent)
        finish()
    }
}